package com.aaa.service.impl;

import com.aaa.entity.PMS_Product;
import com.aaa.mapper.PMS_ProductMapper;
import com.aaa.service.PMS_ProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PMS_ProductServiceImpl extends ServiceImpl<PMS_ProductMapper, PMS_Product> implements PMS_ProductService {


    @Resource
    PMS_ProductMapper pms_productMapper;

    @Override
    public List<PMS_Product> pms_productNameLike(String name) {
        return pms_productMapper.pms_productNameLike(name);
    }

    @Override
    public List<PMS_Product> pms_productStateList(String brandName) {
        return pms_productMapper.pms_productStateList(brandName);
    }

    @Override
    public int pms_productId(Integer id) {
        return pms_productMapper.pms_productId(id);
    }

    @Override
    public int pms_productDeleteStr(String id) {
        return pms_productMapper.pms_productDeleteStr(id);
    }

    @Override
    public int pms_productUpdateState(String id) {
        return pms_productMapper.pms_productUpdateState(id);
    }

    @Override
    public List<PMS_Product> pms_productState() {
        return pms_productMapper.pms_productState();
    }

    @Override
    public int pms_productDeleteStrTime(String id) {
        return pms_productMapper.pms_productDeleteStrTime(id);
    }

    @Override
    public int pms_productUpdate(PMS_Product pms_product) {
        return pms_productMapper.pms_productUpdate(pms_product);
    }



}
